package com.tssm.pojo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * SarcFeedback entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "SARC_FEEDBACK", schema = "dbo", catalog = "ts")
public class SarcFeedback implements java.io.Serializable {

	// Fields

	private Long tsFeedbackid;
	private Long supplierCode;
	private String supplierName;
	private Date feedbackDate;
	private String productName;
	private String contactPeople;
	private String productBatch;
	private Date replyDeadline;
	private String problem;
	private String causeAnalysis;
	private String measures;
	private Date plannedDate;
	private String supplierMa;
	private String problemTracking;
	private String trackingPeople;
	private String address;
	private String telephone;
	private String fax;
	private String postcode;
	private Long operatorid;
	private Long deptid;
	private Date createtime;
	private String status;
	private String def1;
	private String def2;
	private String def3;
	private String def4;
	private String def5;
	private String def6;
	private String def7;
	private String def8;
	private String def9;
	private Date ts;
	private Long dr;

	// Constructors

	/** default constructor */
	public SarcFeedback() {
	}

	/** full constructor */
	public SarcFeedback(Long supplierCode, String supplierName,
			Date feedbackDate, String productName, String contactPeople,
			String productBatch, Date replyDeadline, String problem,
			String causeAnalysis, String measures, Date plannedDate,
			String supplierMa, String problemTracking, String trackingPeople,
			String address, String telephone, String fax, String postcode,
			Long operatorid, Long deptid, Date createtime, String status,
			String def1, String def2, String def3, String def4, String def5,
			String def6, String def7, String def8, String def9, Date ts,
			Long dr) {
		this.supplierCode = supplierCode;
		this.supplierName = supplierName;
		this.feedbackDate = feedbackDate;
		this.productName = productName;
		this.contactPeople = contactPeople;
		this.productBatch = productBatch;
		this.replyDeadline = replyDeadline;
		this.problem = problem;
		this.causeAnalysis = causeAnalysis;
		this.measures = measures;
		this.plannedDate = plannedDate;
		this.supplierMa = supplierMa;
		this.problemTracking = problemTracking;
		this.trackingPeople = trackingPeople;
		this.address = address;
		this.telephone = telephone;
		this.fax = fax;
		this.postcode = postcode;
		this.operatorid = operatorid;
		this.deptid = deptid;
		this.createtime = createtime;
		this.status = status;
		this.def1 = def1;
		this.def2 = def2;
		this.def3 = def3;
		this.def4 = def4;
		this.def5 = def5;
		this.def6 = def6;
		this.def7 = def7;
		this.def8 = def8;
		this.def9 = def9;
		this.ts = ts;
		this.dr = dr;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "TS_FEEDBACKID", unique = true, nullable = false, precision = 18, scale = 0)
	public Long getTsFeedbackid() {
		return this.tsFeedbackid;
	}

	public void setTsFeedbackid(Long tsFeedbackid) {
		this.tsFeedbackid = tsFeedbackid;
	}

	@Column(name = "SUPPLIER_CODE", precision = 18, scale = 0)
	public Long getSupplierCode() {
		return this.supplierCode;
	}

	public void setSupplierCode(Long supplierCode) {
		this.supplierCode = supplierCode;
	}

	@Column(name = "SUPPLIER_NAME")
	public String getSupplierName() {
		return this.supplierName;
	}

	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}

	@Column(name = "FEEDBACK_DATE", length = 23)
	public Date getFeedbackDate() {
		return this.feedbackDate;
	}

	public void setFeedbackDate(Date feedbackDate) {
		this.feedbackDate = feedbackDate;
	}

	@Column(name = "PRODUCT_NAME")
	public String getProductName() {
		return this.productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	@Column(name = "CONTACT_PEOPLE")
	public String getContactPeople() {
		return this.contactPeople;
	}

	public void setContactPeople(String contactPeople) {
		this.contactPeople = contactPeople;
	}

	@Column(name = "PRODUCT_BATCH")
	public String getProductBatch() {
		return this.productBatch;
	}

	public void setProductBatch(String productBatch) {
		this.productBatch = productBatch;
	}

	@Column(name = "REPLY_DEADLINE", length = 23)
	public Date getReplyDeadline() {
		return this.replyDeadline;
	}

	public void setReplyDeadline(Date replyDeadline) {
		this.replyDeadline = replyDeadline;
	}

	@Column(name = "PROBLEM")
	public String getProblem() {
		return this.problem;
	}

	public void setProblem(String problem) {
		this.problem = problem;
	}

	@Column(name = "CAUSE_ANALYSIS")
	public String getCauseAnalysis() {
		return this.causeAnalysis;
	}

	public void setCauseAnalysis(String causeAnalysis) {
		this.causeAnalysis = causeAnalysis;
	}

	@Column(name = "MEASURES")
	public String getMeasures() {
		return this.measures;
	}

	public void setMeasures(String measures) {
		this.measures = measures;
	}

	@Column(name = "PLANNED_DATE", length = 23)
	public Date getPlannedDate() {
		return this.plannedDate;
	}

	public void setPlannedDate(Date plannedDate) {
		this.plannedDate = plannedDate;
	}

	@Column(name = "SUPPLIER_MA")
	public String getSupplierMa() {
		return this.supplierMa;
	}

	public void setSupplierMa(String supplierMa) {
		this.supplierMa = supplierMa;
	}

	@Column(name = "PROBLEM_TRACKING")
	public String getProblemTracking() {
		return this.problemTracking;
	}

	public void setProblemTracking(String problemTracking) {
		this.problemTracking = problemTracking;
	}

	@Column(name = "TRACKING_PEOPLE")
	public String getTrackingPeople() {
		return this.trackingPeople;
	}

	public void setTrackingPeople(String trackingPeople) {
		this.trackingPeople = trackingPeople;
	}

	@Column(name = "ADDRESS")
	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "TELEPHONE")
	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	@Column(name = "FAX")
	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	@Column(name = "POSTCODE")
	public String getPostcode() {
		return this.postcode;
	}

	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}

	@Column(name = "OPERATORID", precision = 18, scale = 0)
	public Long getOperatorid() {
		return this.operatorid;
	}

	public void setOperatorid(Long operatorid) {
		this.operatorid = operatorid;
	}

	@Column(name = "DEPTID", precision = 18, scale = 0)
	public Long getDeptid() {
		return this.deptid;
	}

	public void setDeptid(Long deptid) {
		this.deptid = deptid;
	}

	@Column(name = "CREATETIME", length = 23)
	public Date getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	@Column(name = "STATUS")
	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Column(name = "DEF1")
	public String getDef1() {
		return this.def1;
	}

	public void setDef1(String def1) {
		this.def1 = def1;
	}

	@Column(name = "DEF2")
	public String getDef2() {
		return this.def2;
	}

	public void setDef2(String def2) {
		this.def2 = def2;
	}

	@Column(name = "DEF3")
	public String getDef3() {
		return this.def3;
	}

	public void setDef3(String def3) {
		this.def3 = def3;
	}

	@Column(name = "DEF4")
	public String getDef4() {
		return this.def4;
	}

	public void setDef4(String def4) {
		this.def4 = def4;
	}

	@Column(name = "DEF5")
	public String getDef5() {
		return this.def5;
	}

	public void setDef5(String def5) {
		this.def5 = def5;
	}

	@Column(name = "DEF6")
	public String getDef6() {
		return this.def6;
	}

	public void setDef6(String def6) {
		this.def6 = def6;
	}

	@Column(name = "DEF7")
	public String getDef7() {
		return this.def7;
	}

	public void setDef7(String def7) {
		this.def7 = def7;
	}

	@Column(name = "DEF8")
	public String getDef8() {
		return this.def8;
	}

	public void setDef8(String def8) {
		this.def8 = def8;
	}

	@Column(name = "DEF9")
	public String getDef9() {
		return this.def9;
	}

	public void setDef9(String def9) {
		this.def9 = def9;
	}

	@Column(name = "TS", length = 23)
	public Date getTs() {
		return this.ts;
	}

	public void setTs(Date ts) {
		this.ts = ts;
	}

	@Column(name = "DR", precision = 18, scale = 0)
	public Long getDr() {
		return this.dr;
	}

	public void setDr(Long dr) {
		this.dr = dr;
	}

}